<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>%error_title%</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1">
    <link rel="stylesheet" href="NetError.css" type="text/css" media="all" />

    <script type="application/javascript">
        function CLBridge(){
            this.sendMsg = function (msg) {
                this.send('zwerror://msg/' + msg);
            };
            this.send = function (dst) {
                var element = document.createElement('iframe');
                element.style.display = 'none';
                element.src = "native_error://" + dst;
                document.documentElement.appendChild(element);
                setTimeout(function() { document.documentElement.removeChild(element); }, 0);
            }
        }
        function zwFireReloadButton(){
            new CLBridge().send('reload');
        }
    </script>
  </head>

  <body dir="&locale.dir;">

    <!-- PAGE CONTAINER (for styling purposes only) -->
    <div id="errorPageContainer">

      <!-- Error Title -->
      <div id="errorTitle">
        <h1 id="errorTitleText">%error_title%</h1>
      </div>

      <!-- LONG CONTENT (the section most likely to require scrolling) -->
      <div id="errorLongContent">

        <!-- Short Description -->
        <div id="errorShortDesc">
          <p id="errorShortDescText">%short_description%</p>
        </div>

        <!-- Buttons -->
        <div id="actions">%actions%</div>
      </div>

    </div>
  </div>
  <div id="decoration"></div>

  </body>
</html>
